#pragma once 

#include "shape.hpp"


struct Sphere : public Shape {
    Sphere (const glm::vec3 &center, float radius) : center(center), radius(radius) {}
    
    std::optional<HitInfo> intersect(const Ray &ray, float t_min, float T_max) const  override;

    glm::vec3 center;
    float radius;

    
    
};